<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="403.aspx.cs" Inherits="Dashboard._403" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<canvas id="world"></canvas>
	<div class="real-boxs">
		<div class="row align-lg-center">
			<div class="col-md-12">
				<div class="error-template">
						<h1> ERROR <strong>403</strong> – :) </h1>
						<h2>La pagina non può essere visualizzata</h2>
						<div class="error-details"> Non hai i permessi necessari per accedere alla pagina richiesta </div>
						<div class="error-actions">
						<a href="#menu" class="btn btn-theme btn-lg"><span class="fa fa-bars"></span></a>
						<a href="#" class="btn btn-theme-inverse btn-lg"><span class="fa fa-envelope-o"></span> Contact Support </a>
						</div>
						<div class="error-details"> Copyright &copy; 2015 Melnac</div>
				</div>
			</div>
		</div>
	</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LocaJavascript" runat="server">
<script type="text/javascript">
    (function () {

        $('#header').hide();
        $('.breadcrumb').hide();

        var COLORS, Confetti, NUM_CONFETTI, PI_2, canvas, confetti, context, drawCircle, i, range, resizeWindow, xpos;
        NUM_CONFETTI = 100;
        COLORS = [[85, 71, 106], [174, 61, 99], [219, 56, 83], [244, 92, 68], [248, 182, 70], [26, 188, 155], [212, 223, 90]];
        PI_2 = 2 * Math.PI;
        canvas = document.getElementById("world");
        context = canvas.getContext("2d");
        window.w = 0;
        window.h = 0;
        resizeWindow = function () {
            window.w = canvas.width = window.innerWidth;
            return window.h = canvas.height = window.innerHeight;
        };
        window.addEventListener('resize', resizeWindow, false);
        window.onload = function () {
            return setTimeout(resizeWindow, 0);
        };
        range = function (a, b) {
            return (b - a) * Math.random() + a;
        };
        drawCircle = function (x, y, r, style) {
            context.beginPath();
            context.arc(x, y, r, 0, PI_2, false);
            context.fillStyle = style;
            return context.fill();
        };
        xpos = 0.5;
        document.onmousemove = function (e) {
            return xpos = e.pageX / w;
        };
        window.requestAnimationFrame = (function () {
            return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) {
                return window.setTimeout(callback, 1000 / 60);
            };
        })();
        Confetti = (function () {
            function Confetti() {
                this.style = COLORS[~~range(0, 5)];
                this.rgb = "rgba(" + this.style[0] + "," + this.style[1] + "," + this.style[2];
                this.r = ~~range(2, 6);
                this.r2 = 2 * this.r;
                this.replace();
            }
            Confetti.prototype.replace = function () {
                this.opacity = 0;
                this.dop = 0.03 * range(1, 4);
                this.x = range(-this.r2, w - this.r2);
                this.y = range(-20, h - this.r2);
                this.xmax = w - this.r;
                this.ymax = h - this.r;
                this.vx = range(0, 2) + 8 * xpos - 5;
                return this.vy = 0.7 * this.r + range(-1, 1);
            };

            Confetti.prototype.draw = function () {
                var _ref;
                this.x += this.vx;
                this.y += this.vy;
                this.opacity += this.dop;
                if (this.opacity > 1) {
                    this.opacity = 1;
                    this.dop *= -1;
                }
                if (this.opacity < 0 || this.y > this.ymax) {
                    this.replace();
                }
                if (!((0 < (_ref = this.x) && _ref < this.xmax))) {
                    this.x = (this.x + this.xmax) % this.xmax;
                }
                return drawCircle(~~this.x, ~~this.y, this.r, "" + this.rgb + "," + this.opacity + ")");
            };

            return Confetti;

        })();

        confetti = (function () {
            var _i, _results;
            _results = [];
            for (i = _i = 1; 1 <= NUM_CONFETTI ? _i <= NUM_CONFETTI : _i >= NUM_CONFETTI; i = 1 <= NUM_CONFETTI ? ++_i : --_i) {
                _results.push(new Confetti);
            }
            return _results;
        })();

        window.step = function () {
            var c, _i, _len, _results;
            requestAnimationFrame(step);
            context.clearRect(0, 0, w, h);
            _results = [];
            for (_i = 0, _len = confetti.length; _i < _len; _i++) {
                c = confetti[_i];
                _results.push(c.draw());
            }
            return _results;
        };

        step();

    }).call(this);

</script>
</asp:Content>
